<template>
  <img
    class="logo"
    src="../assets/images/logo.jpg"
    alt="logo"
    @click="toHome"
  />
</template>

<script setup>
import { useRouter } from "vue-router";
const { push } = useRouter();
const toHome = () => {
  push({
    name: "home",
  });
};
</script>
